// import request from '@/utils/request'
import request from '@/app/appcommon/utils/request-spring'

// 查询fund_new_price列表
export function listFund_now(query) {
  return request({
    url: '/fund_now/list',
    method: 'get',
    params: query
  })
}

// 查询fund_new_price详细
export function getFund_now(productId) {
  return request({
    url: '/fund_now/' + productId,
    method: 'get'
  })
}

// 新增fund_new_price
export function addFund_now(data) {
  return request({
    url: '/fund_now',
    method: 'post',
    data: data
  })
}

// 修改fund_new_price
export function updateFund_now(data) {
  return request({
    url: '/fund_now',
    method: 'put',
    data: data
  })
}

// 删除fund_new_price
export function delFund_now(productId) {
  return request({
    url: '/fund_now/' + productId,
    method: 'delete'
  })
}
